package com.laborder.sysyy.service.teacher;

import com.laborder.sysyy.entity.Teacher;
import java.util.List;
import java.util.Map;


public interface TeacherService {

	List<Teacher> findTeacherWithPage(Map<String,Object>map);
	 /**
	   * @function: 获得教师数量
	   * @author: 759057893@qq.com lyz
	   * @date: 2019/1/10 17:20
	   */
	int getTeacherCount(Map<String,Object>map);
	 /**
	   * @function: 添加教师信息
	   * @author: 759057893@qq.com lyz
	   * @date: 2019/1/10 17:21
	   */
	int saveTeacherInfo(Teacher teacher);
     /**
       * @function: 修改教师信息
       * @author: 759057893@qq.com lyz
       * @date: 2019/1/10 17:20
       */
	boolean updateTeacherInfo(Teacher teacher);
	 /**
	   * @function: 删除教师信息
	   * @author: 759057893@qq.com lyz
	   * @date: 2019/1/10 14:21
	   */
	boolean delTeacherInfo(int tId);

	 /**
	   * @function: 批量删除教师信息
	   * @author: 759057893@qq.com lyz
	   * @date: 2019/1/10 14:21
	   */
	boolean delManyTeacherInfo(int tId);

	
	Teacher getTeacherInfo(int tId);

	Teacher getTeacherInfoByName(String tName,String tPhone);

	/**
	 * @function: 查询教师信息
	 * @author: 759057893@qq.com lyz
	 * @date: 2019/1/9 22:18
	 */
	List<Teacher> getAllTeacher();

	/**
	 * @function: 根据Id查询教师信息
	 * @author: 759057893@qq.com lyz
	 * @date: 2019/1/10 14:39
	 */
	Teacher selectTeacherById(int tId);
	
}
